close all
clear
clc

N1 = 16;
N2 = 32;

x = 0:15;

y1 = abs(fft(x,N1))/N1;
y2 = abs(fft(x,N2))/N1;

subplot(2,2,1);stem(0:N1-1,y1,'.');
subplot(2,1,2);stem(0:N2-1,y2,'.');
